'use strict';

module.exports = app => {
  const { router, controller } = app;
  router.get('/api/permission', controller.permission.find);
  router.get('/api/permission/list', controller.permission.list);
  router.post('/api/permission/add', controller.permission.create);
  router.get('/api/permission/del', controller.permission.delete);
}
